import {qss} from '../../util/request'
import request from '../../util/request'

export const getGroupList= () => {
    let url =  '/api/msgGroup/list'
    console.log(process.env.VUE_APP_DOMAIN)
    console.log(url)
    let param = {
        
    }
    return request.get(url,qss(param))
}

export const createGroup= (msgGroupEntity) => {
    let url =  '/api/msgGroup/merge'
    let param = {
        msgGroupEntity: msgGroupEntity
    }
    return request.post(url,qss(param))
}